package com.jeejio.train.service;

import com.jeejio.train.entity.Attach;
import com.jeejio.train.entity.Lecturer;

import java.util.List;

public interface AttachService {

    List<Attach> findAttachByCourse(int courseId);

    boolean upload(Attach attach);

    Attach findByPrimaryKey(int id);

    int deleteByPrimaryKey(int id, Lecturer lecturer);
}
